package org.example;
/**
 * 账户实体类 - 表示银行账户信息
 */
public class Account {
    private String accountId;    // 账户号码
    private String name;        // 客户姓名
    private String password;    // 加密密码
    private double balance;     // 账户余额

    // Getter和Setter方法
    public String getAccountId() {
        return accountId;
    }
    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public double getBalance() {
        return balance;
    }
    public void setBalance(double balance) {
        this.balance = balance;
    }

}